package JavaSEAdvance.day01_extends.d014_template;

/**
 * @author Xiao
 * @date 2021/7/15
 */
public abstract class CompositionTemplate {
    public final void write () {
        System.out.println("《我的爸爸》");
        body();
        System.out.println("啊~这就是我的爸爸！");
    }
//    final int MAX = 10;
//    final int MAX_VALUE = 20;

    protected abstract void body();
}
